<template>
 <view>
 		<!--顶部区域-->
 		<view class="smart-panel-head">
 			<view class="smart-panel-head-title">navigator, 链接</view>
 		</view>
 		<!--主题-->
    <view class="smart-padding-wrap">
      <navigator url="newpage/newpage?title=navigator" hover-class="navigator-hover">
        <button type="default">跳转到新页面</button>
      </navigator>
      <navigator url="newpage/newpage?title=redirect" open-type="redirect" hover-class="other-navigator-hover">
        <button type="default">在当前页打开</button>
      </navigator>
      <navigator url="/pages/tabBar/api/api" open-type="switchTab" hover-class="other-navigator-hover">
        <button type="default">跳转tab页面</button>
      </navigator>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      title: 'navigator'
    };
  },
  methods: {
  }
};
</script>

<style>
</style>